<%@ page import="org.knowlege.Image" %>



<div class="fieldcontain ${hasErrors(bean: imageInstance, field: 'filePath', 'error')} ">
	<label for="filePath">
		<g:message code="image.filePath.label" default="File Path" />
		
	</label>
	<g:textField name="filePath" value="${imageInstance?.filePath}"/>
</div>

<div class="fieldcontain ${hasErrors(bean: imageInstance, field: 'fileDes', 'error')} ">
	<label for="fileDes">
		<g:message code="image.fileDes.label" default="File Des" />
		
	</label>
	<g:textField name="fileDes" value="${imageInstance?.fileDes}"/>
</div>

<div class="fieldcontain ${hasErrors(bean: imageInstance, field: 'fileName', 'error')} ">
	<label for="fileName">
		<g:message code="image.fileName.label" default="File Name" />
		
	</label>
	<g:textField name="fileName" value="${imageInstance?.fileName}"/>
</div>

<div class="fieldcontain ${hasErrors(bean: imageInstance, field: 'product', 'error')} required">
	<label for="product">
		<g:message code="image.product.label" default="Product" />
		<span class="required-indicator">*</span>
	</label>
	<g:select id="product" name="product.id" from="${org.product.Product.list()}" optionKey="id" required="" value="${imageInstance?.product?.id}" class="many-to-one"/>
</div>

